From: Anton Gladky Date: Tue, 3 Mar 2026 18:23:44 +0000 (+0000) Subject: Fix path for the installation of python modules X-Git-Tag: archive/raspbian/9.5.2+dfsg4-3+rpi1^2^2^2~10 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/%22mailto:kde%40ewsoftware.de/%22style.css/%22node%24level1.html//%22Programmet/%22http:/www.example.com/%22mailto:kde%40ewsoftware.de/%22style.css/%22node%24level1.html/%22Programmet?a=commitdiff_plain;h=4e2f7309f946b840e15c83ddfe520e6ef08c1d97;p=vtk9.git Fix path for the installation of python modules Last-Update: 2020-11-06 Gbp-Pq: Name 50_fix_python-modules_path.patch --- diff --git a/CMake/vtkModuleWrapPython.cmake b/CMake/vtkModuleWrapPython.cmake index bae4c173d..4ed23e617 100644 --- a/CMake/vtkModuleWrapPython.cmake +++ b/CMake/vtkModuleWrapPython.cmake @@ -82,7 +82,7 @@ function (vtk_module_python_default_destination var) "for Python modules.") set(_vtk_python_version_suffix) endif () - set(destination "${CMAKE_INSTALL_LIBDIR}/python${_vtk_python_version_suffix}/site-packages") + set(destination "lib/python3/dist-packages") endif () set("${var}" "${destination}" PARENT_SCOPE) diff --git a/Utilities/Python/CMakeLists.txt b/Utilities/Python/CMakeLists.txt index 18c01d796..f291870fa 100644 --- a/Utilities/Python/CMakeLists.txt +++ b/Utilities/Python/CMakeLists.txt @@ -54,7 +54,7 @@ if (NOT VTK_PYTHON_SITE_PACKAGES_SUFFIX) set(VTK_PYTHON_SITE_PACKAGES_SUFFIX "Lib/site-packages") else () set(VTK_PYTHON_SITE_PACKAGES_SUFFIX - "python${vtk_python_version_pair}/site-packages") + "python3/dist-packages") endif () endif ()